#define _CRT_SECURE_NO_WARNINGS 1

#include<stdio.h>
#define N 88
int n = 0;
void fun(int* p, int* q)
{
	int i = 0;
	for (i = *p; i <= 100; i++)
	{
		if (i % *p == 0)
		{
			q[n] = i;
			n++;
		}
	}
}
int main()
{

	int x,i,pp[N] = {0};
	scanf("%d", &x);
	fun(&x, pp);
	for (i = 0; i < n; i++)
	{
		printf("%d\n",pp[i]);
	}
	return 0;
}